home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource Library: Multimedia
/
Resource Library: Multimedia.iso
/
hypertxt
/
msdos
/
hyprvx11
/
define
< prev
next >
Wrap
Text File
|
1990-11-03
|
6KB
|
159 lines
DEFINE
Defines a key to execute a MAIL command. This enables you to press a key
to enter a command instead of typing the command name.
Format: DEFINE/KEY key-name string
Any keypad keys that you define during a MAIL session disappear
when you EXIT from MAIL. To retain keypad definitions, create
a file in your top-level directory containing the desired
key definitions (for example, MAIL$KEYDEF.INI). Enter the
following line in your LOGIN.COM:
$DEFINE MAIL$INIT SYS$LOGIN:MAIL$KEYDEF.INI
See also: <KEYPAD>
Parameters: key-name
Specifies the name of the key you are defining. Use the
following key-names when defining keys:
Key-name VT100 VT52 LK201
PF1 PF1 red key PF1
PF2 PF2 blue key PF2
PF3 PF3 black key PF3
PF4 PF4 - PF4
KP0, KP1-KP9 keypad 0-9 keypad 0-9
PERIOD period key period key
COMMA comma key comma key comma key
MINUS minus key minus key minus key
ENTER ENTER key ENTER key ENTER key
UP,DOWN,LEFT,RIGHT arrow keys arrow keys
FIND,INSERT_HERE - - Find,Insert Here
REMOVE,SELECT - - Remove,Select
PREV_SCREEN - - Previous Screen
NEXT_SCREEN - - Next Screen
HELP,DO - - Help, Do
F6-F10,F11-F14 - - Function Keys
F17-F20 - - Function Keys
string
Specifies the string you want entered when you press the
defined key. "String" can be a MAIL command, for example,
DIRECTORY or SET FILE.
Qualifiers: /ECHO
/NOECHO
Specifies whether or not the command line is echoed after you
press the defined key. You cannot define a key specifying
both /NOECHO and /NOTERMINATE. The default is /ECHO.
/IF_STATE
/[NO]IF_STATE=state_list
Specifies a list of states, any one of which must be set in
order to enable the specified key definition. If you omit or
negate this qualifier, the current state prevails.
/LOCK_STATE
/[NO]LOCK_STATE
Retains the state specified by the /SET_STATE qualifier until
you use the /SET_STATE qualifier again to change it. The default
is /NOLOCK_STATE.
/LOG
/[NO]LOG
Specifies whether or not informational messages are displayed.
These messages signal successfully created key definitions.
The default is /LOG.
/SET_STATE
/[NO]SET_STATE
Associates a state with the key you are defining. A state name
can be any alphanumeric string. If you omit or negate this
qualifier, the current state remains unchanged. You cannot
define a key specifying both/SET_STATE and /TERMINATE.
/TERMINATE
/[NO]TERMINATE
Determines whether or not the specified command string
executes when you press the key. When you use /NOTERMINATE you
must press RETURN to execute the command string. You cannot
define a key specifying both /SET_STATE and /TERMINATE.
/ECHO
/[NO]ECHO
Specifies whether or not the command line is echoed after you
press the defined key. You cannot define a key specifying
both /NOECHO and /NOTERMINATE. The default is /ECHO.
/IF_STATE
/[NO]IF_STATE=state_list
Specifies a list of states, any one of which must be set in
order to enable the specified key definition. If you omit or
negate this qualifier, the current state prevails.
/LOCK_STATE
/[NO]LOCK_STATE
Retains the state specified by the /SET_STATE qualifier until
you use the /SET_STATE qualifier again to change it. The default
is /NOLOCK_STATE.
/LOG
/[NO]LOG
Specifies whether or not informational messages are displayed.
These messages signal successfully created key definitions.
The default is /LOG.
/SET_STATE
/[NO]SET_STATE=state
Associates a state with the key you are defining. A state name
can be any alphanumeric string. If you omit or negate this
qualifier, the current state remains unchanged. You cannot
define a key specifying both /SET_STATE and /TERMINATE.
/TERMINATE
/[NO]TERMINATE
Determines whether or not the specified command string
executes when you press the key. When you use /NOTERMINATE you
must press RETURN to execute the command string. You cannot
define a key specifying both /SET_STATE and /TERMINATE.